package com.dh.project.service.impl;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.dh.project.mapper.IndoorPriceMapper;
import com.dh.project.model.Indoor_price;
import com.dh.project.service.IndoorpriceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 赵鹏程 on 2017/7/24.
 */
@Service
public class IndoorpriceServiceImpl extends SuperServiceImpl<IndoorPriceMapper,Indoor_price> implements IndoorpriceService{

    @Autowired
    IndoorPriceMapper indoorPriceMapper;

    @Override
    public Indoor_price getIndoorPrice(int id) {
        return indoorPriceMapper.getIndoorPrice(id);
    }
}
